<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>增加用户</title>
<style type="text/css">
	.error {
		color: #ff0000;
		font-weight: bold;
	}
</style>
</head>
<body>
	<form:form method="POST" commandName="user">
		<form:errors path="*" cssClass="error" /><br />
		邮箱：<form:input path="email" alt="登录账号" />
		<form:errors path="email" cssClass="error" /><br />
		密码：<form:input path="password" />
		<form:errors path="password" cssClass="error" /><br />

		确认密码：<input type="text" name="repassword"/><br />
		昵称：<form:input path="nickname" title="昵称：" />
		<form:errors path="nickname" cssClass="error" /><br />
		主页：<form:input path="homepage" />
		<form:errors path="homepage" cssClass="error" /><br />
		联系方式：<form:input path="address" />
		<form:errors path="address" cssClass="error" /><br />
		个人介绍：<form:input path="description" />
		<form:errors path="description" cssClass="error" /><br />
		<input type="submit" />
	</form:form>
</body>
</html>